<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>外部链接</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <script src="../../script/vue.min.js"></script>
    <script src="../../script/fastclick.js"></script>
</head>

<body>
    <div v-cloak id="register_two" class="jp-box">
        <div class="jp-head">
            <div class="jp-head-top">
                <div class="jp-head-top-left">
                    <img :src="logo">
                </div>
                <div class="jp-head-top-right">
                    <h1>{{name}}</h1>
                    <p class="jp-label">
                        <span class="">{{feature.split('，')[0]}}</span>
                        <span class="">{{feature.split('，')[1]}}</span>
                        <span class="">{{feature.split('，')[2]}}</span>
                    </p>
                    <p class="jp-label2">
                        <span>申请成功：{{successNum}}万人</span>
                        <span>下款时间：30分钟放贷</span>
                    </p>
                </div>
            </div>
            <div class="jp-head-bottom">
                <ul>
                    <li style="width: 25%">
                        <p class="pone">{{successRate}}%</p>
                        <p class="ptwo">成功率</p>
                    </li>
                    <li style="width: 40%">
                        <p class="pone">{{limit}}</p>
                        <p class="ptwo">额度范围(元)</p>
                    </li>
                    <li style="width: 35%">
                        <p class="pone">{{rate}}%</p>
                        <p class="ptwo">日费率</p>
                    </li>
                </ul>
            </div>
        </div>
        <p class="jp-main-title">
            <img src="../../image/detail/jpico0.png">
            <span>申请过程</span>
        </p>
        <div class="jp-progess">

            <ul class="jp-progess-main">
                <li class="jp-progess-li">
                    <img src="../../image/detail/jpico03.png">
                    <p>身份认证</p>
                </li>
                <li class="aright">
                    <img src="../../image/detail/aright.png">
                </li>
                <li class="jp-progess-li">
                    <img src="../../image/detail/jpico04.png">
                    <p>手机号确认</p>
                </li>
                <li class="aright">
                    <img src="../../image/detail/aright.png">
                </li>
                <li class="jp-progess-li">
                    <img src="../../image/detail/jpico05.png">
                    <p>银行卡绑定</p>
                </li>
                <li class="aright">
                    <img src="../../image/detail/aright.png">
                </li>
                <li class="jp-progess-li">
                    <img src="../../image/detail/jpico06.png">
                    <p>通讯录认证</p>
                </li>
                <li class="aright">
                    <img src="../../image/detail/aright.png">
                </li>
                <li class="jp-progess-li">
                    <img src="../../image/detail/jpico07.png">
                    <p>芝麻授信</p>
                </li>
            </ul>
        </div>
        <p class="jp-main-title">
            <img src="../../image/detail/jpico0.png">
            <span>申请资格</span>
        </p>
        <div class="jp-progess" style="padding-bottom:60px;padding-top:1px">
            <div class="jp-statu-text">
                <p v-for="(items, indexp) in memo.split('；')" :key="indexp">{{items}}</p>
            </div>
        </div>
        <div class="jp-btn" @click="goWrap">立即申请</div>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script src="../../script/jquery.min.js"></script>
<script type="text/javascript">
    apiready = function() {
      FastClick.attach(document.body);
        var vm = new Vue({
            el: '#register_two',
            data: {
              name: '',
              logo: '',
              feature: '',
              limit: '',
              rate: '',
              successNum: '',
              successRate: '',
              key: '',
              memo: '',
              link: ''
            },
            methods: {
              goWrap: function() {
                var that = this;
                let phone = $api.getStorage('phone');
                $.ajax({
               			type: "POST",
                    url: "http://api.oouye.com/log/appActive",
               			dataType: 'json',
               			data: {
                      did: $api.getStorage('did'),
                      phone: phone,
                      key: that.key,
                      boundleId: 'com.lin.xiaozhusudai',
                      channel: $api.getStorage('channel')
                    },
               			success: function(data){

               			}
            		});
                api.openWin({
                    name: 'wrap_link_frame',
                    url: 'wrap_link_frame.html',
                    pageParam: {
                        link: that.link
                    }
                });
              }
            },
            mounted: function() {
              this.name = api.pageParam.name
              this.logo = api.pageParam.logo
              this.feature = api.pageParam.feature
              this.limit = api.pageParam.limit
              this.rate = api.pageParam.rate
              this.successNum = api.pageParam.successNum
              this.successRate = api.pageParam.successRate
              this.key = api.pageParam.key
              this.memo = api.pageParam.memo
              this.link = api.pageParam.link
            }
        })
    };
</script>
<style>
.jp-box {
}
.jp-head {
  overflow: hidden;
  background: #fff;
}
.jp-head-top {
  padding-top: 20px;
  height: 50px;
  /*background: #fbdb0a;*/
  background: linear-gradient(to right, #49b2fb, #3969fb);
}
.jp-head-top-left {
  float: left;
  padding-left: 12px;
}
.jp-head-top-left img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
}
.jp-head-top-right {
  float: left;
  margin-left: 10px;
  text-align: left;
}
.jp-head-top-right h1 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
.jp-label {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}
.jp-label span {
  font-size: 12px;
  padding: 2px 6px;
  margin-right: 5px;
  border-radius: 2px;
  background: #edf6ff;
  color: #0a79ff;
  box-sizing: border-box;
}
.back1 {
  background: #4a7ef3;
}
.back2 {
  background: #fe6118;
}
.back3 {
  background: #fec924;
}
.jp-label2 {
  margin-top: 10px;
  font-size: 12px;
  color: #646464;
  font-weight: bold;
}
.jp-head-bottom {
  width: 100%;
}
.jp-head-bottom ul {
  height: 44px;
  margin-top: 90px;
  /*padding-bottom: 7px;*/
  /*border-bottom: #f5f5f5 solid 10px;*/
}
.jp-head-bottom ul li {
  float: left;
  height: 12px;
  box-sizing: border-box;
  border-right: #e5e5e5 solid 2px;
  text-align: center;
}
.jp-head-bottom ul li:last-child {
  border-right: none;
}
.jp-head-bottom ul li .pone {
  font-size: 16px;
  color: #000;
  margin-top: -15px;
}
.jp-head-bottom ul li .ptwo {
  font-size: 14px;
  color: #919191;
}
.jp-progess {
  padding:8px 14px 7px 14px;
  background: #fff;
  /*border-bottom: #f5f5f5 solid 10px;*/
}
.jp-main-title {
  overflow: hidden;
  text-align: center;
  background: #f5f5f5;
  padding: 15px;
}
.jp-main-title img {
  display: block;
  float: left;
  width: 6px;
  /*height: 18px;*/
}
.jp-main-title span {
  float: left;
  font-size: 14px;
  line-height: 18px;
  color: #000;
  font-weight: bold;
  margin-left: 15px;
}
.jp-progess-main {
  padding:0 0 0 22px;
  overflow: hidden;
}
.jp-progess-main li {
  float: left;
  height: 61px;
  margin-bottom: 11px;
  text-align: center;
}
.aright img {
  width: 25px;
  margin-top: 15px;
}
.jp-progess-main li p {
  font-size: 13px;
  color: #000;
}
.jp-progess-li {
  padding: 6px;
}
.jp-progess-li p{
  font-size: 14px!important;
}
.jp-progess-li img {
  width: 40px!important;
  margin-left: 50%;
  transform: translateX(-50%);
}
.jp-statu-text {
  padding-left: 34px;
  margin-top: 16px;
  padding-bottom: 8px;
  font-size: 12px;
  color: #434343;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}
.jp-btn {
  position: fixed;
  bottom:0;
  left: 0;
  width: 100%;
  height: 50px;
  background: -webkit-linear-gradient(left, #fe7e4a, #ff534e);
  color: #fff;
  font-size: 15px;
  line-height: 50px;
  text-align: center;
  /*border-top: #f5f5f5 solid 10px;*/
}

</style>
</html>
